package com.example.lotterysystem.common.errorcode;

import lombok.Data;

/**
 * 全局异常错误码
 */
public interface GlobalErrorCodeConstants {
    ErrorCode SUCCESS = new ErrorCode(200, "成功！");
    ErrorCode INTERNAL_SERVER_ERROR = new ErrorCode(500, "系统错误！");
    ErrorCode UNKNOWN = new ErrorCode(999, "未知错误！");
}
